package com.xyy.saas.payment.job.syncData;

import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;
import com.xyy.elasticjob.client.annotation.ElasticJobConf;
import com.xyy.saas.payment.service.job.SyncFuminDataService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;

/**
 *
 * 查询富民报表
 */
//@ElasticJobConf(name = "xyy.elastic.job.manage.queryFuminRecords—hour-today", cron = "0 0 * * * ?")
@Deprecated
public class QueryFuminRecordsJob3 implements SimpleJob {

    private static final org.slf4j.Logger LOGGER = org.slf4j.LoggerFactory.getLogger(QueryFuminRecordsJob3.class);

    @Autowired
    private SyncFuminDataService syncFuminDataService;

    @Override
    public void execute(ShardingContext shardingContext) {
        String time = new Date().toString();
//        syncFuminDataService.synchronizeLastDayFuminData3();
        LOGGER.info("QueryFuminRecordsJob3#execute shardingInfo:{}", "shardingContext = " + 0 + "method: synchronizeFuminData" + ":" + time);
    }

}
